import axios from 'axios'
export function baojian1(money) {
    return money >= 200 ? '至尊享受' : '基本按摩'
}
export function baojian2(money) {
    return money <= 1000 ? '单人服务' : '双人服务'
}
export function baojian3(money) {
    return money
}
export function fetchUser() {
    return axios.get('http://jsonplaceholder.typicode.com/users/1')
        .then(res => res.data)
        .catch(error => console.log(error));
}
